package com.zhengke.pojo;
/**  

* 创建时间：2019年12月26日 下午2:56:39 

* 项目名称：tvmallbs  

* @author 王东科

* @version 1.0     

* 文件名称：GoodsDetail.java  

* 类说明：  商品信息

*/
public class GoodsDetail implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	/**
	 *	 商品ID
	 */
	private Integer goodsId;
	/**
	 * 	 商品状态属性（0:正品;1:打折;2:体验;3:积分兑换;4:用来打包;7:可兑换打包品）
	 */
	private Integer isNormal;
	/**
	 * 	对应公共商品ID
	 */
	private Integer commonGoodsId;
	/**
	 * 	商品价格
	 */
	private Double goodsPrice;
	/**
	 * 	商品状态(0：下架 1：上架)
	 */
	private Integer status;
	/**
	 * 	赠送积分
	 */
	private Integer awardedIntegral;
	/**
	 * 	是否可积分兑换	
	 */
	private Integer integralBuy;
	/**
	 * 	兑换所需积分	
	 */
	private Integer goodsExchIntegral;
	/**
	 * 	运费
	 */
	private Double shippingFee;
	/**
	 * 	是否可以退货 0：否  1：是	
	 */
	private Integer goodsRefund;
	/**
	 * 	退货费用
	 */
	private Double returnFee;
	/**
	 * 	创建者id
	 */
	private Integer createUserId;
	/**
	 * 	创建时间
	 */
	private String createTime;
	/**
	 * 	创建者
	 */
	private String createUserName;

	private CommonGoods commonGoods;
	private MallGoodsClass mallGoodsClass;
	private String  gc1;
	private String  gc2;
	private String  gc3;
	private String brandName;
	private String goodsName;
	private String specifications;
	/** default constructor */
	public GoodsDetail() {
	}

	/** minimal constructor */
	public GoodsDetail(Integer isNormal, Integer commonGoodsId,
			Double goodsPrice, Integer status, Double shippingFee,
			Integer createUserId, String createTime, String createUserName,CommonGoods commonGoods) {
		this.isNormal = isNormal;
		this.commonGoodsId = commonGoodsId;
		this.goodsPrice = goodsPrice;
		this.status = status;
		this.shippingFee = shippingFee;
		this.createUserId = createUserId;
		this.createTime = createTime;
		this.createUserName = createUserName;
		this.commonGoods = commonGoods;
	}

	/** full constructor */
	public GoodsDetail(Integer isNormal, Integer commonGoodsId,
			Double goodsPrice, Integer status, Integer awardedIntegral,
			Integer integralBuy, Integer goodsExchIntegral, Double shippingFee,
			Integer goodsRefund, Double returnFee, Integer createUserId,
			String createTime, String createUserName,CommonGoods commonGoods) {
		this.isNormal = isNormal;
		this.commonGoodsId = commonGoodsId;
		this.goodsPrice = goodsPrice;
		this.status = status;
		this.awardedIntegral = awardedIntegral;
		this.integralBuy = integralBuy;
		this.goodsExchIntegral = goodsExchIntegral;
		this.shippingFee = shippingFee;
		this.goodsRefund = goodsRefund;
		this.returnFee = returnFee;
		this.createUserId = createUserId;
		this.createTime = createTime;
		this.createUserName = createUserName;
		this.commonGoods = commonGoods;
	}

	// Property accessors

	
	
	public Integer getGoodsId() {
		return this.goodsId;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getSpecifications() {
		return specifications;
	}

	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}

	public String getGc1() {
		return gc1;
	}

	public void setGc1(String gc1) {
		this.gc1 = gc1;
	}

	public String getGc2() {
		return gc2;
	}

	public void setGc2(String gc2) {
		this.gc2 = gc2;
	}

	public String getGc3() {
		return gc3;
	}

	public void setGc3(String gc3) {
		this.gc3 = gc3;
	}

	public MallGoodsClass getMallGoodsClass() {
		return mallGoodsClass;
	}

	public void setMallGoodsClass(MallGoodsClass mallGoodsClass) {
		this.mallGoodsClass = mallGoodsClass;
	}

	public CommonGoods getCommonGoods() {
		return commonGoods;
	}

	public void setCommonGoods(CommonGoods commonGoods) {
		this.commonGoods = commonGoods;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getIsNormal() {
		return this.isNormal;
	}

	public void setIsNormal(Integer isNormal) {
		this.isNormal = isNormal;
	}

	public Integer getCommonGoodsId() {
		return this.commonGoodsId;
	}

	public void setCommonGoodsId(Integer commonGoodsId) {
		this.commonGoodsId = commonGoodsId;
	}

	public Double getGoodsPrice() {
		return this.goodsPrice;
	}

	public void setGoodsPrice(Double goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getAwardedIntegral() {
		return this.awardedIntegral;
	}

	public void setAwardedIntegral(Integer awardedIntegral) {
		this.awardedIntegral = awardedIntegral;
	}

	public Integer getIntegralBuy() {
		return this.integralBuy;
	}

	public void setIntegralBuy(Integer integralBuy) {
		this.integralBuy = integralBuy;
	}

	public Integer getGoodsExchIntegral() {
		return this.goodsExchIntegral;
	}

	public void setGoodsExchIntegral(Integer goodsExchIntegral) {
		this.goodsExchIntegral = goodsExchIntegral;
	}

	public Double getShippingFee() {
		return this.shippingFee;
	}

	public void setShippingFee(Double shippingFee) {
		this.shippingFee = shippingFee;
	}

	public Integer getGoodsRefund() {
		return this.goodsRefund;
	}

	public void setGoodsRefund(Integer goodsRefund) {
		this.goodsRefund = goodsRefund;
	}

	public Double getReturnFee() {
		return this.returnFee;
	}

	public void setReturnFee(Double returnFee) {
		this.returnFee = returnFee;
	}

	public Integer getCreateUserId() {
		return this.createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getCreateUserName() {
		return this.createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	@Override
	public String toString() {
		return "GoodsDetail [goodsId=" + goodsId + ", isNormal=" + isNormal + ", commonGoodsId=" + commonGoodsId
				+ ", goodsPrice=" + goodsPrice + ", status=" + status + ", awardedIntegral=" + awardedIntegral
				+ ", integralBuy=" + integralBuy + ", goodsExchIntegral=" + goodsExchIntegral + ", shippingFee="
				+ shippingFee + ", goodsRefund=" + goodsRefund + ", returnFee=" + returnFee + ", createUserId="
				+ createUserId + ", createTime=" + createTime + ", createUserName=" + createUserName + ", commonGoods="
				+ commonGoods + ", mallGoodsClass=" + mallGoodsClass + ", gc1=" + gc1 + ", gc2=" + gc2 + ", gc3=" + gc3
				+ ", brandName=" + brandName + ", goodsName=" + goodsName + ", specifications=" + specifications + "]";
	}
	
	
}
